package com.xoa.service.guideGoal;

import com.xoa.model.guideGoal.GuideGoalType;
import com.xoa.util.ToJson;
import com.xoa.util.treeUtil.TreeGirdNode;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by 张丽军 on 2017/7/28.
 */
public interface GuideGoalTypeService {

    public ToJson<GuideGoalType> getSupervisionTypeDetail(HttpServletRequest request, Integer sid);

    public ToJson<GuideGoalType> updateSupervisionType(HttpServletRequest request, GuideGoalType guideGoalType);

    public ToJson<GuideGoalType> addSupervisionType(HttpServletRequest request, GuideGoalType guideGoalType);

    public ToJson<GuideGoalType> deleteSupervisionTypeBySid(Integer sid);

    public ToJson<GuideGoalType> getSupervisionTypeList(GuideGoalType guideGoalType, HttpServletRequest request, Integer page, Integer pageSize, Boolean useFlag);

	/**
	 * 创建作者:   杨 胜
	 * 创建日期:   2017-8-1 下午8:26:23
	 * 方法介绍:
	 * 参数说明:   @param request
	 * 参数说明:   @return
	 * @return     ToJson<TreeNode>
	 */
	public ToJson<TreeGirdNode> getSupTypeList(HttpServletRequest request);


	public ToJson<GuideGoalType> getSupNameSelect(HttpServletRequest request, GuideGoalType guideGoalType);
}
